package ro.k.tags;

import java.util.ArrayList;
import java.util.List;

import ro.k.web.beans.KBeanUtils;
import ro.k.web.beans.order.ReqPiesaBean;

public class ReqPiese {
	private List<ReqPiesaBean> reqPiese = new ArrayList<ReqPiesaBean>();

	public void addReqPiesa(ReqPiesaBean m) {
		reqPiese.add(m);
	}

	public void remove(String item) {
		if (KBeanUtils.isEmpty(item)) {
			return;
		}
		try {
			int i = Integer.parseInt(item);
			reqPiese.remove(i);
		} catch (Exception e) {
		}
	}
	
	public List<ReqPiesaBean> getReqPiese() {
		return reqPiese;
	}
}
